package com.cn.kabalifemerchants.ui.login.bean;

import java.io.Serializable;

/**
 * Created by 晓林 on 2020/9/3.
 * function:
 */
public class RegisterBean implements Serializable {
    /**
     * code : 200
     * result : {"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2MDE2OTMwMjUsInN1YiI6ImVhc3lTaWFtIiwibmJmIjoxNTk5MTAxMDI1LCJhdWQiOiJ1c2VyIiwiaWF0IjoxNTk5MTAxMDI1LCJqdGkiOiIwZDUyZjNhNDYzYTllNzhjYWViOTkxMmI1NDg3ZjA2MyIsInN0YXR1cyI6MSwiZGF0YSI6eyJpZCI6N319.QgdKXlxiFccu3oWiL29Q_mxXxpKsiemL6L9kVAkuPaA","level":1}
     * msg : ok
     */

    private int code;
    private ResultBean result;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class ResultBean implements Serializable {
        /**
         * token : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2MDE2OTMwMjUsInN1YiI6ImVhc3lTaWFtIiwibmJmIjoxNTk5MTAxMDI1LCJhdWQiOiJ1c2VyIiwiaWF0IjoxNTk5MTAxMDI1LCJqdGkiOiIwZDUyZjNhNDYzYTllNzhjYWViOTkxMmI1NDg3ZjA2MyIsInN0YXR1cyI6MSwiZGF0YSI6eyJpZCI6N319.QgdKXlxiFccu3oWiL29Q_mxXxpKsiemL6L9kVAkuPaA
         * level : 1
         */

        private String token;
        private int level;

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public int getLevel() {
            return level;
        }

        public void setLevel(int level) {
            this.level = level;
        }
    }
}
